#include "StdAfx.h"
#include "CustomImport.h"
#include "CustomImportForm.h"
#include "SerialProtocolHandler.h"

VOID_API Initialise(const char* strDatabaseDConnectionString)
{
	CustomImport::CustomImportForm form(gcnew String(strDatabaseDConnectionString));
	form.ShowDialog();
}

VOID_API Write(const char* strData)
{
	SerialProtocolHandler::Write(gcnew String(strData));
}

VOID_API Read(char* strBuffer, int iLength)
{
	SerialProtocolHandler::Read();
}